package com.github.zj.dreamly.guava.eventbus.monitor;

import com.google.common.eventbus.Subscribe;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author 苍海之南
 */
public class FileChangeListener {

	private final static Logger LOGGER = LoggerFactory.getLogger(FileChangeListener.class);

	@Subscribe
	public void onChange(FileChangeEvent event) {
		LOGGER.info("{}-{}", event.getPath(), event.getKind());
	}
}
